package com.vogue.supplymall.account.domain.dao;

import com.vogue.supplymall.account.domain.model.User;

/**
 * Created by 崔岳 on 2017-12-1. 
 */
public interface UserDao extends BaseDao<User, Long> {

	/**
	 * 根据供应链系统id和平台唯一码id来确定一个用户<br>
	 * 
	 * @param matchId	供应链系统数据id
	 * @param syscodeId	平台唯一码id
	 * @return
	 */
	public User getUserByMatchId(String matchId, Long syscodeId);

	/**
	 * 根据用户id和平台唯一码id来确定一个用户
	 * @param userId	供应链系统数据id
	 * @param syscodeId	平台唯一码id
	 * @return
	 */
	public User getUserById(Long userId, Long syscodeId);
	
}
